//声明: 该文件需要 swiper,jqueryui,common,toast,jquery

require(["config"], function(config) {
	require(["jquery.ui", "com", "jquery", "zepto", "sw", "toast"], function(jqui, com, jq, zep, sw, t) {
		
		console.log(randomColor());

		//console.log(autocomplete);

		var sw = new Swiper("#banner", {
			direction: "vertical",
			autoplay: 1500,
			//分页器
			pagination: '#page',
			//添加导航按钮
			prevButton: ".swiper-button-prev",
			nextButton: ".swiper-button-next",
			scrollbar:".swiper-scrollbar",
			speed:300
		}) 
	
		
		
	});
})